package com.guiwu.caiguanlin.writeTest.singleton;

/**
 * 懒汉式
 */
public class SingletonLazy {
    public static SingletonLazy singletonLazy = null;

    private SingletonLazy() {
    }

    public static SingletonLazy getSingletonLazy() {
        if (singletonLazy == null) {
            singletonLazy = new SingletonLazy();
        }
        return singletonLazy;
    }
}
